﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AISFMIOperator
{
    public partial class AddFacilityTypeForm : Form
    {
        public AddFacilityTypeForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string facility_type_name = this.textBox1.Text.Trim();

            FacilityType ft = new FacilityType();
            ft.FacilityTypeName = facility_type_name;

            ft.Save();

            this.Close();
        }
    }
}
